package com.sunwayworld.basemodule.rm.material.resource;

import com.sunwayworld.basemodule.rm.material.bean.LimsStandardInventoryBean;
import com.sunwayworld.basemodule.rm.material.service.LimsStandardInventoryService;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import com.sunwayworld.framework.support.choosable.resource.GenericChoosableResource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/secure/basemodule/rm/standard-inventorys")
public interface LimsStandardInventoryResource extends GenericResource<LimsStandardInventoryService, LimsStandardInventoryBean, Long>, GenericChoosableResource<LimsStandardInventoryService, LimsStandardInventoryBean, Long> {

    @RequestMapping(value = "/standards/checkout", method = RequestMethod.POST)
    void checkOutStandard(RestJsonWrapperBean wrapper);

    @RequestMapping(value = "/standards/inventory", method = RequestMethod.POST)
    void inventoryStandard(RestJsonWrapperBean wrapper);

    @RequestMapping(value = "/history", method = RequestMethod.DELETE)
    void deleteHistory(RestJsonWrapperBean wrapper);
}
